package com.citycloud.ccuap.tc.admin.repository;

import com.citycloud.ccuap.tc.admin.entity.SysProjectAcl;
import org.springframework.data.mybatis.repository.support.MybatisRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 项目（站点）菜单和角色关联表数据库操作
 * @author sufeng
 *
 */

@Repository
public interface SysProjectAclRepository extends MybatisRepository<SysProjectAcl, String> {

	List<SysProjectAcl> findByRoleId(Long roleId);

	void deleteByRoleId(Long roleId);

	void deleteByPrjFunId(String id);

}